﻿using System.Windows;
using System.Windows.Controls;

namespace SSC.Views
{
    /// <summary>
    /// ucSlotControl.xaml 的交互逻辑
    /// </summary>
    public partial class ucSlotControl : UserControl
    {
        public ucSlotControl()
        {
            InitializeComponent();
            this.DataContext = this;
        }

        public string SlotCode
        {
            get { return (string)GetValue(SlotCodeProperty); }
            set { SetValue(SlotCodeProperty, value); }
        }

        public static readonly DependencyProperty SlotCodeProperty =
            DependencyProperty.Register("SlotCode", typeof(string), typeof(ucSlotControl), new PropertyMetadata("S01"));
    }
}
